@echo off
cd ..\classes
java IC.Compiler ..\test\IlegalPrograms\ClassError1.ic -print-ast > ..\test\test_output\ClassError1.out
java IC.Compiler ..\test\IlegalPrograms\ClassError2.ic -print-ast > ..\test\test_output\ClassError2.out
java IC.Compiler ..\test\IlegalPrograms\ClassError3.ic -print-ast > ..\test\test_output\ClassError3.out
java IC.Compiler ..\test\IlegalPrograms\IlegalChars1.IC -print-ast > ..\test\test_output\IlegalChars1.out
java IC.Compiler ..\test\IlegalPrograms\IlegalChars2.IC -print-ast > ..\test\test_output\IlegalChars2.out
java IC.Compiler ..\test\IlegalPrograms\IlegalCharsInString1.IC -print-ast > ..\test\test_output\IlegalCharsInString1.out
java IC.Compiler ..\test\IlegalPrograms\IlegalCharsInString2.IC -print-ast > ..\test\test_output\IlegalCharsInString2.out
java IC.Compiler ..\test\IlegalPrograms\LeadingIDNums1.ic -print-ast > ..\test\test_output\LeadingIDNums1.out
java IC.Compiler ..\test\IlegalPrograms\LeadingIDNums2.ic -print-ast > ..\test\test_output\LeadingIDNums2.out
java IC.Compiler ..\test\IlegalPrograms\LeadingZeros1.ic -print-ast > ..\test\test_output\LeadingZeros1.out
java IC.Compiler ..\test\IlegalPrograms\LeadingZeros2.ic -print-ast > ..\test\test_output\LeadingZeros2.out
java IC.Compiler ..\test\IlegalPrograms\LeadingZeros3.ic -print-ast > ..\test\test_output\LeadingZeros3.out
java IC.Compiler ..\test\IlegalPrograms\numberLiterals2.IC -print-ast > ..\test\test_output\numberLiterals2.out
java IC.Compiler ..\test\IlegalPrograms\numberLiterals3.IC -print-ast > ..\test\test_output\numberLiterals3.out
java IC.Compiler ..\test\IlegalPrograms\Quicksort_bad.ic -print-ast > ..\test\test_output\Quicksort_bad.out
java IC.Compiler ..\test\IlegalPrograms\StatementErrors1.ic -print-ast > ..\test\test_output\StatementErrors1.out
java IC.Compiler ..\test\IlegalPrograms\StatementErrors2.ic -print-ast > ..\test\test_output\StatementErrors2.out
java IC.Compiler ..\test\IlegalPrograms\UnclosedClass.ic -print-ast > ..\test\test_output\UnclosedClass.out
java IC.Compiler ..\test\IlegalPrograms\UnclosedComment.IC -print-ast > ..\test\test_output\UnclosedComment.out
java IC.Compiler ..\test\IlegalPrograms\UnclosedQuote1.IC -print-ast > ..\test\test_output\UnclosedQuote1.out
java IC.Compiler ..\test\IlegalPrograms\UnclosedQuote2.IC -print-ast > ..\test\test_output\UnclosedQuote2.out
java IC.Compiler ..\test\IlegalPrograms\UnclosedQuote3.IC -print-ast > ..\test\test_output\UnclosedQuote3.out
java IC.Compiler ..\test\LegalPrograms\ArraysAndLoops.ic -print-ast > ..\test\test_output\ArraysAndLoops.out
java IC.Compiler ..\test\LegalPrograms\DanglingElse.ic -print-ast > ..\test\test_output\DanglingElse.out
java IC.Compiler ..\test\LegalPrograms\LogicalOperatorPrec.ic -print-ast > ..\test\test_output\LogicalOperatorPrec.out
java IC.Compiler ..\test\LegalPrograms\MathOperatorPrec.ic -print-ast > ..\test\test_output\MathOperatorPrec.out
java IC.Compiler ..\test\LegalPrograms\MethodCalls.ic -print-ast > ..\test\test_output\MethodCalls.out
java IC.Compiler ..\test\LegalPrograms\numberLiterals1.IC -print-ast > ..\test\test_output\numberLiterals1.out
java IC.Compiler ..\test\LegalPrograms\Quicksort.ic -print-ast > ..\test\test_output\Quicksort.out
java IC.Compiler ..\test\LegalPrograms\Sieve.ic -print-ast > ..\test\test_output\Sieve.out
java IC.Compiler ..\test\LegalPrograms\tokens.IC -print-ast > ..\test\test_output\tokens.out
java IC.Compiler ..\test\LegalPrograms\Quicksort.ic -L..\test\libic.sig -print-ast > ..\test\test_output\Quicksort_with_lib.out
java IC.Compiler ..\test\LegalPrograms\Quicksort.ic -L..\test\ilegalLibic1.sig -print-ast > ..\test\test_output\Quicksort_with_bad_lib1.out
java IC.Compiler ..\test\LegalPrograms\Quicksort.ic -L..\test\ilegalLibic2.sig -print-ast > ..\test\test_output\Quicksort_with_bad_lib2.out
java IC.Compiler ..\test\IlegalPrograms\IlegalDec.ic -print-ast > ..\test\test_output\IlegalDec.out
cd ..\test
